package com.vdong.trade.order.common.contract;

import static com.vdong.trade.order.common.contract.OrderStateMachineEventModelContract.DISB_ORDER_EVENT_MODEL;

/**
 * @description: 状态
 * @author: Mr.WangGang
 * @create: 2018-11-20 下午 3:41
 **/
public interface DisbOrderStateMachineEventContract {
    /**
     * 订单状态  例子
     * 当 order_type =  100 (disb 分销订单) ->
     * 0 订单取消
     * 1 创建订单
     * 2 申请支付
     * 3 付款中
     * 4 已付款
     * 5 待退款
     * 6 退款中
     * 7 已退款
     * 8 待结算
     * 9 结算中
     * 10 已结算
     */
    String DISB_CREATE = DISB_ORDER_EVENT_MODEL+"CREATE";
    String DISB_APPLYPAY = DISB_ORDER_EVENT_MODEL+"APPLYPAY";
    String DISB_PAY = DISB_ORDER_EVENT_MODEL+"PAY";
    String DISB_PAYDONE = DISB_ORDER_EVENT_MODEL+"PAYDONE";
    String DISB_APPLYREFUND = DISB_ORDER_EVENT_MODEL+"APPLYREFUND";
    String DISB_REFUND = DISB_ORDER_EVENT_MODEL+"REFUND";
    String DISB_REFUNDDONE = DISB_ORDER_EVENT_MODEL+"REFUNDDONE";
    String DISB_CANCEL = DISB_ORDER_EVENT_MODEL+"CANCEL";
    String DISB_APPLYSETTLEMENT = DISB_ORDER_EVENT_MODEL+"APPLYSETTLEMENT";
    String DISB_SETTLEMENT = DISB_ORDER_EVENT_MODEL+"SETTLEMENT";
    String DISB_SETTLEMENTDONE = DISB_ORDER_EVENT_MODEL+"SETTLEMENTDONE";
}
